Crate tokio_io_utility

source ·

Macros

Structs

Traits

Functions

  • nread - bytes to read in
  • nread - bytes to read in
  • rng - The start of the range specify the minimum of bytes to read in, while the end of the range specify the maximum of bytes that can be read in. If the lower bound is not specified, it is default to 0. If the upper bound is not specified, it is default to the capacity of bytes. The lower bound must not be larger than the upper bound.
  • NOTE that this function does not modify any existing data.
  • rng - The start of the range specify the minimum of bytes to read in, while the end of the range specify the maximum of bytes that can be read in. If the lower bound is not specified, it is default to 0. If the upper bound is not specified, it is default to the capacity of bytes. The lower bound must not be larger than the upper bound.
  • Try to fill data from reader into the spare capacity of vec.
  • rng - The start of the range specify the minimum of bytes to read in, while the end of the range specify the maximum of bytes that can be read in. If the lower bound is not specified, it is default to 0. If the upper bound is not specified, it is default to the capacity of bytes. The lower bound must not be larger than the upper bound.
  • buffer - must not contain empty Bytess.
  • Return true if the bufs contains at least one byte.